package com.woniu.smart.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @program: smart
 * @description:
 * @author: qqq
 * @create: 2022-10-22 15:21
 **/
@Data
public class WarningVO {
    /**
     * 告警记录id
     */
    private Integer warningId;
    /**
     * 设备id
     */
    private Integer equipmentId;
    /**
     * 设备名称
     */
    private String equipmentName;
    /**
     * 设备编号
     */
    private String equipmentNum;
    /**
     * 设备型号
     */
    private String equipmentModel;
    /**
     * 设备厂家
     */
    private String equipmentFactory;

    /**
     * 设备出厂时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date equipmentBirtime;
    /**
     * 产品版本
     */
    private String equipmentVersion;
    /**
     * 告警内容
     */
    private String warningName;
    /**
     * 告警位置(设备安装位置)
     */
    private String equipmentPlace;
    /**
     * 关联13.故障类型表
     */
    private Integer faultId;
    /**
     * 关联13.故障类型表(告警类型)
     */
    private String falutName;
    /**
     * 关联13.故障等级(告警等级)
     */
    private Integer falutLevel;
    /**
     * 处置状态（1.未派单、2已派单、3.已处理）
     */
    private Integer warningStatus;
    /**
     * 告警时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date warningTime;
    /**
     * 告警阈值
     */
    private String warningThr;
    /**
     * 跟进人名字
     */
    private String empName;
    /**
     * 跟进人ID
     */
    private Integer empId;
    /**
     * 跟进人电话
     */
    private String empTel;
    private Integer repairTypeId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date operationTime;
    private String operationContent;

    private Integer operationStatus;
    private String operationResult;
    private String operationPhoto;
    private Integer operationId;
    private String operationBy1;

    private String operationBy2;

    private String operationBy3;
    /**
     * 备用列1
     */
    private String warningBy1;

    /**
     * 备用列2
     */
    private String warningBy2;

 
    private String warningBy3;
}
